﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class GroundDTO
    {
        public GroundDTO()
        {
            this.m_GROUND_ID =0;
            this.m_GROUND_NAME = "";
            this.m_GROUND_ADDRESS ="";
            this.m_GROUND_CAPACITY = 0;
            this.m_GROUND_PICTURE = null;
        }
        public GroundDTO(int GROUND_ID,string GROUND_NAME, string GROUND_ADDRESS, int GROUND_CAPACITY)
        {
            this.m_GROUND_ID = GROUND_ID;
            this.m_GROUND_NAME = GROUND_NAME;
            this.m_GROUND_ADDRESS = GROUND_ADDRESS;
            this.m_GROUND_CAPACITY = GROUND_CAPACITY;
        }

        public GroundDTO(int GROUND_ID, string GROUND_NAME, string GROUND_ADDRESS, int GROUND_CAPACITY, byte[] GROUND_PICTURE)
        {
            this.m_GROUND_ID = GROUND_ID;
            this.m_GROUND_NAME = GROUND_NAME;
            this.m_GROUND_ADDRESS = GROUND_ADDRESS;
            this.m_GROUND_CAPACITY = GROUND_CAPACITY;
            this.m_GROUND_PICTURE = GROUND_PICTURE;
        }

        private int m_GROUND_ID;
        public int GROUND_ID
        {
            get { return m_GROUND_ID; }
            set { m_GROUND_ID = value; }
        }

        private string m_GROUND_NAME;
        public string GROUND_NAME
        {
            get { return m_GROUND_NAME; }
            set { m_GROUND_NAME = value; }
        }

        private string m_GROUND_ADDRESS;
        public string GROUND_ADDRESS
        {
            get { return m_GROUND_ADDRESS; }
            set { m_GROUND_ADDRESS = value; }
        }

        private int m_GROUND_CAPACITY;
        public int GROUND_CAPACITY
        {
            get { return m_GROUND_CAPACITY; }
            set { m_GROUND_CAPACITY = value; }
        }

        private byte[] m_GROUND_PICTURE;
        public byte[] GROUND_PICTURE
        {
            get { return m_GROUND_PICTURE; }
            set { m_GROUND_PICTURE = value; }
        }

    }

    public static class GroundColumns
    {
        public static string GROUND_ID = "GROUND_ID";
        public static string GROUND_NAME = "GROUND_NAME";
        public static string GROUND_ADDRESS = "GROUND_ADDRESS";
        public static string GROUND_CAPACITY = "GROUND_CAPACITY";
        public static string GROUND_PICTURE = "GROUND_PICTURE";        
	 
    }
}
